[INFO] fetching crate win32job 1.0.2...
[INFO] checking win32job-1.0.2 against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] extracting crate win32job 1.0.2 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate win32job 1.0.2 on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate win32job 1.0.2
[INFO] finished tweaking crates.io crate win32job 1.0.2
[INFO] tweaked toml for crates.io crate win32job 1.0.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f8c5ff9dbd550130b6deba9024ba2f436fd138785906f04291812ff5ef9b7a02
[INFO] running `Command { std: "docker" "start" "-a" "f8c5ff9dbd550130b6deba9024ba2f436fd138785906f04291812ff5ef9b7a02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8c5ff9dbd550130b6deba9024ba2f436fd138785906f04291812ff5ef9b7a02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8c5ff9dbd550130b6deba9024ba2f436fd138785906f04291812ff5ef9b7a02", kill_on_drop: false }`
[INFO] [stdout] f8c5ff9dbd550130b6deba9024ba2f436fd138785906f04291812ff5ef9b7a02
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2fd89f4dd21c1ffa526bf6042b95b988ff0163c45308c90299764be8b1dd1b9d
[INFO] running `Command { std: "docker" "start" "-a" "2fd89f4dd21c1ffa526bf6042b95b988ff0163c45308c90299764be8b1dd1b9d", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking rusty-fork v0.3.0
[INFO] [stderr]     Checking win32job v1.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/job.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::minwindef::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/job.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::handleapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/job.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::jobapi2::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/job.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::winnt::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/limits.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::winbase::{
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/limits.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::winnt::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/query.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::basetsd::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/query.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::shared::minwindef::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/query.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::jobapi2::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/query.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::winnt::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::psapi::PROCESS_MEMORY_COUNTERS;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::winbase::GetProcessAffinityMask;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::winnt::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]  --> src/utils.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::{processthreadsapi, psapi};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/job.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::minwindef::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/job.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::handleapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/job.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::jobapi2::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/job.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::winnt::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/job.rs:128:17
[INFO] [stdout]     |
[INFO] [stdout] 128 |     use winapi::um::winnt::JOB_OBJECT_LIMIT_WORKINGSET;
[INFO] [stdout]     |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/limits.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::winbase::{
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/limits.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::winnt::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/query.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::basetsd::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/query.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::shared::minwindef::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/query.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::jobapi2::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/query.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::winnt::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::psapi::PROCESS_MEMORY_COUNTERS;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::winbase::GetProcessAffinityMask;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::winnt::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]  --> src/utils.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::{processthreadsapi, psapi};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/job.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     handle: HANDLE,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/job.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn handle(&self) -> HANDLE {
[INFO] [stdout]    |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/job.rs:49:33
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn into_handle(self) -> HANDLE {
[INFO] [stdout]    |                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in this scope
[INFO] [stdout]   --> src/job.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 JobObjectExtendedLimitInformation,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/job.rs:64:42
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 &mut info.0 as *mut _ as LPVOID,
[INFO] [stdout]    |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/job.rs:65:44
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 mem::size_of_val(&info) as DWORD,
[INFO] [stdout]    |                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in this scope
[INFO] [stdout]   --> src/job.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 JobObjectExtendedLimitInformation,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/job.rs:85:42
[INFO] [stdout]    |
[INFO] [stdout] 85 |                 &mut info.0 as *mut _ as LPVOID,
[INFO] [stdout]    |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/job.rs:86:46
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 mem::size_of_val(&info.0) as DWORD,
[INFO] [stdout]    |                                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/job.rs:99:47
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn assign_process(&self, proc_handle: HANDLE) -> Result<(), JobError> {
[INFO] [stdout]    |                                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in this scope
[INFO] [stdout]  --> src/limits.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ExtendedLimitInfo(pub JOBOBJECT_EXTENDED_LIMIT_INFORMATION);
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in this scope
[INFO] [stdout]   --> src/limits.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let inner: JOBOBJECT_EXTENDED_LIMIT_INFORMATION = unsafe { mem::zeroed() };
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_WORKINGSET` in this scope
[INFO] [stdout]   --> src/limits.rs:42:52
[INFO] [stdout]    |
[INFO] [stdout] 42 |         self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_WORKINGSET;
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE` in this scope
[INFO] [stdout]   --> src/limits.rs:52:52
[INFO] [stdout]    |
[INFO] [stdout] 52 |         self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE;
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_PRIORITY_CLASS` in this scope
[INFO] [stdout]   --> src/limits.rs:62:52
[INFO] [stdout]    |
[INFO] [stdout] 62 |         self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_PRIORITY_CLASS;
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_SCHEDULING_CLASS` in this scope
[INFO] [stdout]   --> src/limits.rs:76:52
[INFO] [stdout]    |
[INFO] [stdout] 76 |         self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_SCHEDULING_CLASS;
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_AFFINITY` in this scope
[INFO] [stdout]   --> src/limits.rs:84:52
[INFO] [stdout]    |
[INFO] [stdout] 84 |         self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_AFFINITY;
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_BASIC_PROCESS_ID_LIST` in this scope
[INFO] [stdout]   --> src/query.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |     header: JOBOBJECT_BASIC_PROCESS_ID_LIST,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ULONG_PTR` in this scope
[INFO] [stdout]   --> src/query.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     list: [ULONG_PTR; 1024],
[INFO] [stdout]    |            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JobObjectBasicProcessIdList` in this scope
[INFO] [stdout]   --> src/query.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 JobObjectBasicProcessIdList,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/query.rs:32:48
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 &mut proc_id_list as *mut _ as LPVOID,
[INFO] [stdout]    |                                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/query.rs:33:52
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 mem::size_of_val(&proc_id_list) as DWORD,
[INFO] [stdout]    |                                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]  --> src/utils.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn get_current_process() -> HANDLE {
[INFO] [stdout]   |                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/utils.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |     process_handle: HANDLE,
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/utils.rs:36:50
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn get_process_affinity_mask(process_handle: HANDLE) -> Result<(usize, usize), io::Error> {
[INFO] [stdout]    |                                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/job.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     handle: HANDLE,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/job.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn handle(&self) -> HANDLE {
[INFO] [stdout]    |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/job.rs:49:33
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn into_handle(self) -> HANDLE {
[INFO] [stdout]    |                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in this scope
[INFO] [stdout]   --> src/job.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 JobObjectExtendedLimitInformation,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/job.rs:64:42
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 &mut info.0 as *mut _ as LPVOID,
[INFO] [stdout]    |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/job.rs:65:44
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 mem::size_of_val(&info) as DWORD,
[INFO] [stdout]    |                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in this scope
[INFO] [stdout]   --> src/job.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 JobObjectExtendedLimitInformation,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/job.rs:85:42
[INFO] [stdout]    |
[INFO] [stdout] 85 |                 &mut info.0 as *mut _ as LPVOID,
[INFO] [stdout]    |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/job.rs:86:46
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 mem::size_of_val(&info.0) as DWORD,
[INFO] [stdout]    |                                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/job.rs:99:47
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn assign_process(&self, proc_handle: HANDLE) -> Result<(), JobError> {
[INFO] [stdout]    |                                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in this scope
[INFO] [stdout]  --> src/limits.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ExtendedLimitInfo(pub JOBOBJECT_EXTENDED_LIMIT_INFORMATION);
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in this scope
[INFO] [stdout]   --> src/limits.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let inner: JOBOBJECT_EXTENDED_LIMIT_INFORMATION = unsafe { mem::zeroed() };
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_WORKINGSET` in this scope
[INFO] [stdout]   --> src/limits.rs:42:52
[INFO] [stdout]    |
[INFO] [stdout] 42 |         self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_WORKINGSET;
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE` in this scope
[INFO] [stdout]   --> src/limits.rs:52:52
[INFO] [stdout]    |
[INFO] [stdout] 52 |         self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE;
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_PRIORITY_CLASS` in this scope
[INFO] [stdout]   --> src/limits.rs:62:52
[INFO] [stdout]    |
[INFO] [stdout] 62 |         self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_PRIORITY_CLASS;
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_SCHEDULING_CLASS` in this scope
[INFO] [stdout]   --> src/limits.rs:76:52
[INFO] [stdout]    |
[INFO] [stdout] 76 |         self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_SCHEDULING_CLASS;
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_AFFINITY` in this scope
[INFO] [stdout]   --> src/limits.rs:84:52
[INFO] [stdout]    |
[INFO] [stdout] 84 |         self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_AFFINITY;
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_BASIC_PROCESS_ID_LIST` in this scope
[INFO] [stdout]   --> src/query.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |     header: JOBOBJECT_BASIC_PROCESS_ID_LIST,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ULONG_PTR` in this scope
[INFO] [stdout]   --> src/query.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     list: [ULONG_PTR; 1024],
[INFO] [stdout]    |            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JobObjectBasicProcessIdList` in this scope
[INFO] [stdout]   --> src/query.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 JobObjectBasicProcessIdList,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/query.rs:32:48
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 &mut proc_id_list as *mut _ as LPVOID,
[INFO] [stdout]    |                                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/query.rs:33:52
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 mem::size_of_val(&proc_id_list) as DWORD,
[INFO] [stdout]    |                                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]  --> src/utils.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn get_current_process() -> HANDLE {
[INFO] [stdout]   |                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/utils.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |     process_handle: HANDLE,
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/utils.rs:36:50
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn get_process_affinity_mask(process_handle: HANDLE) -> Result<(usize, usize), io::Error> {
[INFO] [stdout]    |                                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateJobObjectW` in this scope
[INFO] [stdout]   --> src/job.rs:22:35
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let job_handle = unsafe { CreateJobObjectW(ptr::null_mut(), ptr::null()) };
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryInformationJobObject` in this scope
[INFO] [stdout]   --> src/job.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             QueryInformationJobObject(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetInformationJobObject` in this scope
[INFO] [stdout]   --> src/job.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             SetInformationJobObject(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AssignProcessToJobObject` in this scope
[INFO] [stdout]    --> src/job.rs:100:37
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let return_value = unsafe { AssignProcessToJobObject(self.handle, proc_handle) };
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/job.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |             CloseHandle(self.handle);
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryInformationJobObject` in this scope
[INFO] [stdout]   --> src/query.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             QueryInformationJobObject(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 45 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `win32job` (lib) due to 46 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateJobObjectW` in this scope
[INFO] [stdout]   --> src/job.rs:22:35
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let job_handle = unsafe { CreateJobObjectW(ptr::null_mut(), ptr::null()) };
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryInformationJobObject` in this scope
[INFO] [stdout]   --> src/job.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             QueryInformationJobObject(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetInformationJobObject` in this scope
[INFO] [stdout]   --> src/job.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             SetInformationJobObject(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AssignProcessToJobObject` in this scope
[INFO] [stdout]    --> src/job.rs:100:37
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let return_value = unsafe { AssignProcessToJobObject(self.handle, proc_handle) };
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/job.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |             CloseHandle(self.handle);
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryInformationJobObject` in this scope
[INFO] [stdout]   --> src/query.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             QueryInformationJobObject(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 46 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `win32job` (lib test) due to 47 previous errors
[INFO] running `Command { std: "docker" "inspect" "2fd89f4dd21c1ffa526bf6042b95b988ff0163c45308c90299764be8b1dd1b9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fd89f4dd21c1ffa526bf6042b95b988ff0163c45308c90299764be8b1dd1b9d", kill_on_drop: false }`
[INFO] [stdout] 2fd89f4dd21c1ffa526bf6042b95b988ff0163c45308c90299764be8b1dd1b9d
